<template>
  <f7-page>
    <!--<f7-navbar back-link="Back" title="功能开发中"></f7-navbar>-->

    <div class="data-null">
      功能开发中...
    </div>
  </f7-page>
</template>
<script>
  import Log from '../mod/log.js'
  import Consts from '../assets/consts'

  import strings from '../assets/strings'
  import cordova from '../js/cordova-app'

  import Alert from '../mod/alert'
  import Toast from '../mod/toast'

  import Storage from '../mod/storage';
  import AlertUtils from '../mod/utils.alert';
  import ToastUtils from '../mod/utils.toast';
  import Utils from '../js/mod.utils';
  import StringUtils from '../js/mod.string';
  import Http from '../js/mod.http';
  import ConstantUtils from '../js/vue.constant';
  import Popover from '../mod/popover';

  const name = strings.page.todo
  const log = new Log(name)

  export default {
    data() {
      return {
        name: name,
        lastBackTimestamp: new Date().getTime(),
      }
    },

    methods: {
      onCreated() {
      },

      onMounted() {
      },

      onPageInit() {
      },

      onPageBeforeIn() {
      },

      onPageAfterIn() {
        var _this = this;
        Utils.setTitle(_this, '功能开发中');
        Utils.setBack(_this, function (e) {
          _this.onBack();
          Utils.close_window(_this);// 关闭页面
        });
      },

      onAlertConfirm(dialog, e) {
      },

      onAlertCancel(dialog, e) {
      },

      onPageBeforeOut() {
      },

      onPageAfterOut() {
      },

      onDestroyed() {
      },
      pageBeforeRemove() {
        let _this = this;
      },

      onUpdated() {
        log.w("onUpdated")
      },

      onBack() {
        let _this = this;
        _this.$f7router.back();
      },

      onResume() {
        log.w("onResume")
      },

      onPause() {
        log.w("onPause")
      },

    },

    created() {
      this.onCreated();
    },

    updated() {
      this.onUpdated();
    },

    destroyed() {
      this.onDestroyed();
    },

    mounted() {
      this.onMounted();
    },

  }
</script>